import React from 'react';
import {Link} from 'react-router'


class FunnyApp extends React.Component{
	render(){
		return(
			<div className="main">
				<header>动态</header>
				<section>{this.props.children}</section>
				<footer>
					<Link to='/dt'>动态</Link>
					<Link to='/jt'>静态</Link>
					<Link to='/wt'>文字</Link>
				</footer>
			</div>
		)
	}
}

export default FunnyApp;